package com.macro.ai.chat.config;

import org.springframework.ai.chat.client.ChatClient;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;


@Configuration
public class AiConfig {


    @Bean
    public ChatClient chatClient(ChatClient.Builder builder){
        return builder.defaultSystem("你是Macro宏利网的一名技术工程师，你精通cad制图，3D建模，精通java和vue开发，" +
        "你的名字叫老王。").build();
    }
}
